home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / gui / pmdev.lha / include / clib / pm_protos.h
Encoding:
C/C++ Source or Header  |  1997-10-28  |  1.5 KB  |  44 lines

  1. #ifndef CLIB_POPUPMENU_PROTOS_H
  2. #define CLIB_POPUPMENU_PROTOS_H
  3.  
  4. //
  5. //    $VER: pm_protos.h 5.0 (31.4.97)
  6. //
  7. //    ©1996-1997 Henrik Isaksson
  8. //    All Rights Reserved.
  9. //
  10.  
  11. #ifndef LIBRARIES_POPUPMENU_H
  12. #include <libraries/pm.h>
  13. #endif
  14.  
  15. /* Functions in V2 */
  16. struct PopupMenu *PM_MakeItem(ULONG tag1, ...);
  17. struct PopupMenu *PM_MakeMenu(ULONG tag1, ...);
  18. struct PopupMenu *PM_MakeMenuA(struct TagItem *tags);
  19. struct PopupMenu *PM_MakeItemA(struct TagItem *tags);
  20. void PM_FreePopupMenu(struct PopupMenu *p);
  21. ULONG PM_OpenPopupMenuA(struct Window *prevwnd, struct TagItem *tags);
  22. ULONG PM_OpenPopupMenu(struct Window *prevwnd, ULONG tag1, ...);
  23. struct PM_IDLst *PM_MakeIDList(ULONG tag1, ...);
  24. struct PM_IDLst *PM_MakeIDListA(struct TagItem *tags);
  25.  
  26. /* New for V3 */
  27. BOOL PM_ItemChecked(struct PopupMenu *pm, ULONG ID);
  28. LONG PM_GetItemAttrsA(struct PopupMenu *p, struct TagItem *tags);
  29. LONG PM_GetItemAttrs(struct PopupMenu *p, ULONG tag1, ...);
  30. LONG PM_SetItemAttrsA(struct PopupMenu *p, struct TagItem *tags);
  31. LONG PM_SetItemAttrs(struct PopupMenu *p, ULONG tag1, ...);
  32. struct PopupMenu *PM_FindItem(struct PopupMenu *menu, ULONG ID);
  33.  
  34. /* New for V5 */
  35. void PM_AlterState(struct PopupMenu *pm, struct PM_IDLst, UWORD action);
  36.  
  37. /* New for V6 */
  38. APTR PM_FilterIMsgA(struct Window *w, struct PopupMenu *pm, struct IntuiMessage *im,  struct TagItem *tags);
  39. APTR PM_FilterIMsg(struct Window *w, struct PopupMenu *pm, struct IntuiMessage *im,  ULONG tag1, ...);
  40. struct PM_IDLst *PM_ExLstA(ULONG *id);
  41. struct PM_IDLst *PM_ExLst(ULONG id, ...);
  42.  
  43. #endif
  44.